package me.zhengjie.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashSet;
import java.util.Set;

@Data
@Component
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {
    
    private SecurityIgnored ignored = new SecurityIgnored();
    
    @Data
    public static class SecurityIgnored {
        private Set<String> urls = new HashSet<>();
    }
} 